package com.jhgsys.internal.hazard.service;

import com.jhgsys.internal.hazard.entity.HazardExamineModuleConfig;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author yangjie
 * @date 2024-09-10 17:19:58
 */
public interface IHazardExamineModuleConfigService extends IService<HazardExamineModuleConfig> {
    /**
     * 查询（分页）
     * @author yangjie
     * @date 2024-09-10 17:19:58
     * @param request QueryRequest
     * @param hazardExamineModuleConfig hazardExamineModuleConfig
     * @return IPage<HazardExamineModuleConfig>
     */
    IPage<HazardExamineModuleConfig> findHazardExamineModuleConfigPage(QueryRequest request, HazardExamineModuleConfig hazardExamineModuleConfig);

    /**
     * 查询（所有）
     * @author yangjie
     * @date 2024-09-10 17:19:58
     * @param hazardExamineModuleConfig hazardExamineModuleConfig
     * @return List<HazardExamineModuleConfig>
     */
    List<HazardExamineModuleConfig> findHazardExamineModuleConfigList(HazardExamineModuleConfig hazardExamineModuleConfig);

    /**
    * 根据ID查询
    * @author yangjie
    * @date 2024-09-10 17:19:58
    * @param id
    * @return HazardExamineModuleConfig
    */
    HazardExamineModuleConfig findHazardExamineModuleConfigById(String id);

    /**
     * 新增
     * @author yangjie
     * @date 2024-09-10 17:19:58
     * @param hazardExamineModuleConfig hazardExamineModuleConfig
     */
    void createHazardExamineModuleConfig(HazardExamineModuleConfig hazardExamineModuleConfig);

    /**
     * 修改
     * @author yangjie
     * @date 2024-09-10 17:19:58
     * @param hazardExamineModuleConfig hazardExamineModuleConfig
     */
    void updateHazardExamineModuleConfig(HazardExamineModuleConfig hazardExamineModuleConfig);

    /**
     * 逻辑删除
     * @author yangjie
     * @date 2024-09-10 17:19:58
     * @param hazardExamineModuleConfig hazardExamineModuleConfig
     * @param hazardExamineModuleConfigIds hazardExamineModuleConfigIds
     */
    void deleteHazardExamineModuleConfig(HazardExamineModuleConfig hazardExamineModuleConfig,String hazardExamineModuleConfigIds);

    /**
    * 物理删除
    * @author yangjie
    * @date 2024-09-10 17:19:58
    * @param hazardExamineModuleConfigIds hazardExamineModuleConfigIds
    */
    void physicallyDeleteHazardExamineModuleConfig(String hazardExamineModuleConfigIds);

    /**
     * 根据所属公司查询
     * @param tenantId
     * @return
     */
    HazardExamineModuleConfig findHazardExamineModuleConfigByTenantId(String tenantId);
}
